package com.estate.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.estate.bean.Manager;
import com.estate.util.JsonResult;
import org.springframework.stereotype.Service;

@Service
public interface AdminService extends IService<Manager> {

    JsonResult listByPage(int page, int size);

    JsonResult saveManager(Manager manager);

    JsonResult updateManager(Manager manager);

    JsonResult deleteManager(String mangerId);

}
